package com.jr.pojo;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.ToString;
import org.springframework.stereotype.Component;

import java.util.Date;

@ToString
@Data
@NoArgsConstructor
@AllArgsConstructor
@Component
public class Notification {
    private Integer notificationId;
    private Integer userId;
    private String title;
    private String content;
    private String type; // order_update, diary_update, system, promotion
    private Boolean isRead;
    private Date createdAt;
}
